package com.my.lists;

import java.util.ArrayList;
import java.util.List;

/**
 * @author marshal
 * @version 2021-06-03
 */
public class Data {
    private int id;
    private String name;
    private List<Integer> nums;

    public Data() {
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List<Integer> getNums() {
        return nums;
    }

    public void setNums(List<Integer> nums) {
        this.nums = nums;
    }

    @Override
    public String toString() {
        return "Data{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", nums=" + nums +
                '}';
    }
}
